Suppress bogus messages in the echo area
authorArash Esbati <arash@gnu.org>
Wed, 10 Apr 2024 21:05:39 +0000 (23:05 +0200)
committerArash Esbati <arash@gnu.org>
Wed, 10 Apr 2024 21:08:17 +0000 (23:08 +0200)
commitca528f7c6ac9b907564298bc96663579d09f9434
tree212b87c593659c623d009654a44464773b7f3af5
parent3a91186ad3707c7e3754616f1c7a2735d40fc33d
Suppress bogus messages in the echo area

* lisp/textmodes/reftex-dcr.el (reftex-view-crossref-when-idle):
Check if point inside a mandatory argument where the cite/ref key
usually resides.  For example, with \cite[45]{emacs:30} and point
on 4, the following bogus message in the echo area is suppressed:
"cite: no such database entry: \cite[45]".  (bug#38258)
Fix docstring.
lisp/textmodes/reftex-dcr.el